home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Games: Greatest Hits 1996
/
Amiga Games: Greatest Hits 1996.iso
/
archive
/
userbox
/
publicdomain
/
megabook.lha
/
MegaBook
/
Extras
/
DialData.mbrx
next >
Wrap
Text File
|
1996-06-27
|
692b
|
34 lines
/*
** NComm Dialer for MegaBook 3
** By Tom Bampton
**
** © 1996 Eden Software
**
** This is the script run when the Dial Data option is selected from the
** Extras menu, please see the docs for creating your own script to dial
** through your terminal program.
*/
/*
Path to NComm, it's run if NComm isn't running
Change this to the path of your copy of NComm
*/
NCommPath = 'NComm:Ncomm'
parse arg Number
/* Check if NComm is running, if not, run it */
if ~show('P', 'ncomm') then do
address command
'run >nil: ' NCommPath
/* Wait for the ARexx port */
do 5 while ~show('P', 'ncomm')
'sys:rexxc/waitforport ncomm'
end
end
address 'ncomm'
options results
DIALNUMBER Number